package com.sgb.jicai.entity;

import com.sgb.jicai.entity.JiCaiRequireEntity;

import java.util.List;

public class JiCaiOfferRequireEntity {

    private String manufactorCredentials;//尾款支付时间
    private String registeredCapital;// 报价人要求--注册资金
    private String operatingPerformance;// 报价人要求--经营业绩
    private String inventoryRequirements;//报价人要求--存货要求
    private String majorCredentials;//报价人要求--专业要求
    private String quailtyNum;//  质保金
    private String quailtyCycle;//   质保周期
    private String quailtyCycleUnit;
    private String billReq;// 发票要
    private String quailtyType;// 发票要
    private String offerOperator;// 是否带操作员  0否 1是
    private String groupbuyClass;// 集采分类 1商品集采 2 机械集采 3 设备集采 4 劳务集采  5房产集采  6租赁集采
    /**
     * 发票类型   1 不带票 2增值税专用票
     */
    private int billType;
    private String taxRate;//尾款支付时间
    private int deliveryMethod;// 送货方式 1自提  2供方配送  3发起方配送
    private int loadType;//装车要求 1供方承担 2需方承担
    private int uploadType;//卸车要求 1供方承担 2需方承担
    private String qualityReq;//尾款支付时间
    private List<JiCaiRequireEntity> customizeOrderFields;//自定义字段

    public void setQuailtyType(String quailtyType) {
        this.quailtyType = quailtyType;
    }

    public String getQuailtyType() {
        return quailtyType;
    }

    public String getOfferOperator() {
        return offerOperator;
    }

    public void setOfferOperator(String offerOperator) {
        this.offerOperator = offerOperator;
    }

    public String getGroupbuyClass() {
        return groupbuyClass;
    }

    public void setGroupbuyClass(String groupbuyClass) {
        this.groupbuyClass = groupbuyClass;
    }

    public String getManufactorCredentials() {
        return manufactorCredentials;
    }

    public void setManufactorCredentials(String manufactorCredentials) {
        this.manufactorCredentials = manufactorCredentials;
    }

    public String getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(String registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public String getOperatingPerformance() {
        return operatingPerformance;
    }

    public void setOperatingPerformance(String operatingPerformance) {
        this.operatingPerformance = operatingPerformance;
    }

    public String getInventoryRequirements() {
        return inventoryRequirements;
    }

    public void setInventoryRequirements(String inventoryRequirements) {
        this.inventoryRequirements = inventoryRequirements;
    }

    public String getMajorCredentials() {
        return majorCredentials;
    }

    public void setMajorCredentials(String majorCredentials) {
        this.majorCredentials = majorCredentials;
    }

    public String getQuailtyNum() {
        return quailtyNum;
    }

    public void setQuailtyNum(String quailtyNum) {
        this.quailtyNum = quailtyNum;
    }

    public String getQuailtyCycle() {
        return quailtyCycle;
    }

    public void setQuailtyCycle(String quailtyCycle) {
        this.quailtyCycle = quailtyCycle;
    }

    public String getQuailtyCycleUnit() {
        return quailtyCycleUnit;
    }

    public void setQuailtyCycleUnit(String quailtyCycleUnit) {
        this.quailtyCycleUnit = quailtyCycleUnit;
    }

    public String getBillReq() {
        return billReq;
    }

    public void setBillReq(String billReq) {
        this.billReq = billReq;
    }

    public String getBillType() {
        String bill;
        switch (billType) {//1 不带票 2增值税专用票
            case 1:
                bill = "不带票";
                break;
            case 2:
                bill = "增值税专用票";
                break;
            case 3:
                bill = "增值税普通发票";
                break;
            default:
                bill = "";
                break;
        }
        return bill;
//        return billType;
    }

    public void setBillType(int billType) {
        this.billType = billType;
    }

    public String getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(String taxRate) {
        this.taxRate = taxRate;
    }

    public String getDeliveryMethod() {
        String method = "";
        switch (deliveryMethod) {//1自提  2供方配送  3发起方配送
            case 1:
                method = "自提";
                break;
            case 2:
                method = "供方配送";
                break;
            case 3:
                method = "发起方配送";
                break;
        }
        return method;
    }

    public void setDeliveryMethod(int deliveryMethod) {
        this.deliveryMethod = deliveryMethod;
    }

    public String getLoadType() {
        String type = "";
        switch (loadType) {////装车要求 1供方承担 2需方承担
            case 1:
                type = "供方承担";
                break;
            case 2:
                type = "需方承担";
                break;
        }
        return type;
    }

    public void setLoadType(int loadType) {
        this.loadType = loadType;
    }

    public String getUploadType() {
        String type = "";
        switch (uploadType) {////装车要求 1供方承担 2需方承担
            case 1:
                type = "供方承担";
                break;
            case 2:
                type = "需方承担";
                break;
        }
        return type;
    }

    public void setUploadType(int uploadType) {
        this.uploadType = uploadType;
    }

    public String getQualityReq() {
        return qualityReq;
    }

    public void setQualityReq(String qualityReq) {
        this.qualityReq = qualityReq;
    }

    public List<JiCaiRequireEntity> getCustomizeOrderFields() {
        return customizeOrderFields;
    }

    public void setCustomizeOrderFields(List<JiCaiRequireEntity> customizeOrderFields) {
        this.customizeOrderFields = customizeOrderFields;
    }


}
